<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vue使用之模板语法插值</title>
    <script src="../vue.min.js" type="text/javascript"></script>
</head>
<body>
<div id="app">
    <!--{{message}}-->
    <!--<div v-html="message"></div>-->
    {{message.split('').reverse().join('-')}}
</div>

<script type="text/javascript">
    var app=new Vue({
        el: '#app',
        data:{
            //message:'hello'
            message:`<div>hello hyq</div>`

        },
        methods: {

        }
    })
</script>
</body>
</html>